﻿using CommonDevelop.DB;
using SqlSugar;
using System;

namespace ManageDB
{
    /// <summary>
    /// 机构表
    /// </summary>
    [SugarTable("Base_Company")]
    public class Base_Company : BaseEn
    {
        /// <summary>
        /// 构造
        /// </summary>
        public Base_Company()
        {
            this.CompanyId = Guid.NewGuid().ToString("N");
        }

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public string CompanyId { get; set; }
        public string ParentId { get; set; }
        public string CompanyCode { get; set; }
        public int CompanyCategory { get; set; }
        public string FullName { get; set; }
        public string ParentName { get; set; }
        public string Manager { get; set; }
        public string Province { get; set; }
        public string City { get; set; }
        public string County { get; set; }
        public string WebAddress { get; set; }
        public DateTime? FoundedTime { get; set; }
    }
}
